package com.dongdongqiang.admin.service;

import com.dongdongqiang.admin.dao.SysUserMapper;
import com.dongdongqiang.common.base.BaseService;
import com.dongdongqiang.domain.sys.SysUser;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by ZZB on 2017/9/18.
 */
@Service
public class SysUserService extends BaseService<SysUser> {
    @Autowired
    private SysUserMapper sysUserMapper;

    public SysUser getByUserName(String userName){
        return sysUserMapper.getByUserName(userName);
    }
}
